package xcu.lxj.nettychat.chat.service.inter;



import xcu.lxj.nettychat.chat.domain.entity.RoomFriend;
import xcu.lxj.nettychat.chat.domain.entity.RoomGroup;
import xcu.lxj.nettychat.chat.domain.vo.request.GroupAddReq;

import java.util.List;


public interface RoomService {

    /**
     * 创建一个单聊房间
     */
    RoomFriend createFriendRoom(List<Long> uidList);

    RoomFriend getFriendRoom(Long uid1, Long uid2);

    /**
     * 禁用一个单聊房间
     */
    void disableFriendRoom(List<Long> uidList);


    /**
     * 创建一个群聊房间
     */
    RoomGroup createGroupRoom(Long uid, GroupAddReq request);


}
